class CreateConstraints < ActiveRecord::Migration
  def self.up
    create_table :constraints do |t|
      t.column :key, :string
      t.column :value, :int
      t.column :priority, :int
      t.column :start_time, :datetime
      t.column :end_time, :datetime
    end
  end

  def self.down
    drop_table :constraints
  end
end
